<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no, maximum-scale=1.0, minimum=1.0">
    <link rel="stylesheet" href="./css/normalize.css" />
    <link rel="stylesheet" href="./css/index.css" />
    <link rel="stylesheet" href="./css/swiper.min.css">
    <title>黑马面面</title>
</head>
<body>
    <!-- header大模块 -->
    <section class="search">
        <!-- 导航栏部分 -->
        <ul class="nav">
            <li>
                <a href="#">
                    <img src="./images/icon1.png" alt="">
                    <span>HR面试</span>
                </a>
            </li>
            <li>
                <a href="#">
                    <img src="./images/icon2.png" alt="">
                    <span>笔试</span>
                </a>
            </li>
            <li>
                <a href="#">
                    <img src="./images/icon3.png" alt="">
                    <span>技术面试</span>
                </a>
            </li>
            <li>
                <a href="#">
                    <img src="./images/icon4.png" alt="">
                    <span>模拟面试</span>
                </a>
            </li>
            <li>
                <a href="#">
                    <img src="./images/icon5.png" alt="">
                    <span>面试技巧</span>
                </a>
            </li>
            <li>
                <a href="#">
                    <img src="./images/icon6.png" alt="">
                    <span>薪资查询</span>
                </a>
            </li>
        </ul>
        <!-- banner模块 -->
        <section class="banner">
            <img src="./images/go.png" alt="">
        </section>
    </section>
    <!-- 就业指导模块 -->
    <section class="job-content">
        <div class="content-hd">
            <h4>
                <span class="icon"><img src="./images/i2.png" alt=""></span>
                就业指导
            </h4>
            <a href="#" class="more">更多>></a>
        </div>
        <!-- 旋转木马轮播图模块 -->
        <div class="get-job-focus">
            <!-- Swiper -->
            <div class="swiper-container get-job-fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <a href="#"><img src="./images/3.jpg" alt=""></a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#"><img src="./images/2.jpg" alt=""></a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#"><img src="./images/ldh.jpg" alt=""></a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#"><img src="./images/ldh.jpg" alt=""></a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#"><img src="./images/ldh.jpg" alt=""></a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#"><img src="./images/ldh.jpg" alt=""></a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                </div>
                <!-- Add Pagination （添加分页小点）
                <div class="swiper-pagination"></div> -->
            </div>
            <!-- Add Arrows （添加左右箭头） 根据需要把箭头挪移位置--> 
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
        </div>
    </section>  
    <script src="./js/flexible.js"></script>
    <script src="./js/swiper.min.js"></script>
    <!-- 充电学习模块 -->
    <section class="job-content study-con">
        <div class="content-hd">
            <h4>
                <span class="icon"><img src="./images/i1.png" alt=""></span>
                充电学习
            </h4>
            <a href="#" class="more">更多>></a>
        </div>
        <!-- 学习模块轮播图 -->
        <div class="study">
            <!-- Swiper -->
            <div class="swiper-container study_fo">
              <div class="swiper-wrapper">
                <div class="swiper-slide">
                    <img src="./images/pic1.png" alt="">
                    <h5>说地道英语, 告别中式英语</h5>
                    <p><span>156</span>人学习</p>
                </div>
                <div class="swiper-slide">
                    <img src="./images/pic2.png" alt="">
                    <h5>思想攻略金字塔思维提升写作能力</h5>
                    <p><span>125</span>人学习</p>
                </div>
                <div class="swiper-slide">
                    <img src="./images/pic1.png" alt="">
                    <h5>说地道英语, 告别中式英语</h5>
                    <p><span>100</span>人学习</p>
                </div>
                <div class="swiper-slide">
                    <img src="./images/pic2.png" alt="">
                    <h5>思想攻略金字塔思维提升写作能力</h5>
                    <p><span>90</span>人学习</p>
                </div>
                <div class="swiper-slide">
                    <img src="./images/pic1.png" alt="">
                    <h5>说地道英语, 告别中式英语</h5>
                    <p><span>16</span>人学习</p>
                </div>
              </div>
              <!-- Add Pagination -->
              <div class="swiper-pagination"></div>
            </div>
        </div>
    </section>
    <footer class="footer">
        <a href="#">
            <span class="icom"></span>
            <span class="intro">首页</span>
        </a>
        <a href="#">
            <span class="icom"></span>
            <span class="intro">技术面试</span>
        </a>
        <a href="#">
            <span class="icom"></span>
            <span class="intro">模拟面试</span>
        </a>
        <a href="#">
            <span class="icom"></span>
            <span class="intro">我的主页</span>
        </a>
    </footer>
    <!-- Initialize Swiper -->
    <script>
        // 第一个函数里面是 就业指导轮播图  (相当于自定义一个函数，里面的变量是局部变量)
        // (function () { (插入代码) })();
        (function () {
            var swiper = new Swiper('.get-job-fo', {
                // 能够显示swiper-slide盒子的个数位置大小
                slidesPerView: 2,
                // 每个swiper-slide盒子之间的距离
                spaceBetween: 30,
                centeredSlides: true,
                loop: true,
                // 因为不需要分页小点，所有去掉
                // pagination: {
                //     el: '.swiper-pagination',
                //     clickable: true,
                // },
                // 添加左右箭头
                navigation: {
                    nextEl: '.swiper-button-next',
                    prevEl: '.swiper-button-prev',
                },
            });
        })(); 
        // 第二个函数 充电学习轮播图
        (function () {
            // 如果有多个相同对象.swiper-container 需要做修改 避免冲突
            // 注意 new出来的Swiper的类名要加.
            var swiper = new Swiper('.study_fo', {
                // 我们可以看到的是2.5个
                slidesPerView: 2.5,
                spaceBetween: 20,
            });
        })();
    </script>
</body>
</html>